package org.example.patternOfFactoryMethod.Factorys;

import org.example.patternOfFactoryMethod.Weapons.Fighter;
import org.example.patternOfFactoryMethod.Weapons.Gun;
import org.example.patternOfFactoryMethod.Weapons.Weapon;

/**
 * @auther hewenhui
 * @see <a href="hetp://www.codingmaster.com> java </a>
 */
public class GunFactory implements WeaponFactory {

    @Override
    public Weapon get() {
        return new Gun();
    }
}
